// 导航栏
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useNavigationStore = defineStore('navigationStore', () => {
    const isCollapse = ref(false)
    const asideWidth = ref(200)
    const pageBreagCrumb = ref('')
    const collapse = () => {
        asideWidth.value = isCollapse.value ? 200 : 64
        isCollapse.value = !isCollapse.value
    }
    return { isCollapse, asideWidth, pageBreagCrumb, collapse}
})